import { sleep } from 'antd-mobile/es/utils/sleep'

let count = 0

export async function mockRequest() {
  if (count >= 2) {
    return []
  }
  await sleep(2000)
  count++
  return [
    {id:1,img:'../img/an3.png',title:'LB宽体更新一套就换一套，这才是战神R35的正确打开方式?',icon:'../img/liao.png'},
    {id:2,img:'../img/an3.png',title:'稀有度堪比NSX！女车主花7年打造竞技本田CR-X，民间女车手你能追上？'},
    {id:3,img:'../img/an3.png',title:'LB宽体更新一套就换一套，这才是战神R35的正确打开方式'},
  ]
}